package am.fp.events
{                           
  import flash.display.Sprite;         
  import flash.events.Event;
  
  public class PageEvent extends Event
  {  
    public static const PAGE_PREV: String = "pagePrev";
    public static const PAGE_NEXT: String = "pageNext";
    public static const PAGE_NUM_UPDATED: String = "pageNumUpdated";
    public static const PAGES_COUNT_UPDATED: String = "pagesCountUpdated";
    public static const GOTO_PAGE: String = "gotoPage";
    
    protected var m_pageNum: int;
    public function get pageNum(): int { return m_pageNum; }
    
    public function PageEvent(type: String, pageNum: int = -1)
    {
      m_pageNum = pageNum;
      super(type, false, false);
    }
  }
}
